package com.peng.utils;

import org.junit.Test;

/**
 * TailNumberTest
 *
 * @author: lupeng10
 * @create: 2023-04-20 17:38
 */
public class TailNumberTest {

    @Test
    public void test() {
        TailNumber tailNumber = TailNumber.from("10;0-5;123,456,789;12345");
        // TailNumber.from("10;0-5;123,456，789;12345");
        // TailNumber.from("10;0-5;123,456789;12345 ");

        System.out.println(tailNumber.isOneOf(123));
        System.out.println(tailNumber.isOneOf(12345));
        System.out.println(tailNumber.isOneOf(10));
    }
}
